package com.trxy.hotelsystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trxy.hotelsystem.dao.vip_managementMapper;
import com.trxy.hotelsystem.model.vip_management;
import com.trxy.hotelsystem.service.Vip_managementService;

@Service
public class Vip_managementServiceImpl implements Vip_managementService{
	
	@Autowired
	private vip_managementMapper vip_managementmapper;

	@Override
	public List<vip_management> queryVipmanagementAll() {
		// TODO Auto-generated method stub
		return vip_managementmapper.queryVipmanagementAll();
	}

	@Override
	public vip_management selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return vip_managementmapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(vip_management record) {
		// TODO Auto-generated method stub
		return vip_managementmapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public vip_management selectBygrade(String grade) {
		// TODO Auto-generated method stub
		return vip_managementmapper.selectBygrade(grade);
	}
	

}
